package com.asiainfo.dacp.datastash.broker.core.enums;

import com.asiainfo.dacp.util.enums.AbstractEnum;
import com.asiainfo.dacp.util.enums.Enums;
import lombok.NoArgsConstructor;

/**
 *
 * @author MeiKefu
 * @date 2017-12-13
 */
@Enums("datastash:unit:runconts")
@NoArgsConstructor
public class UnitBatchRunConstraintEnum extends AbstractEnum {

    public static UnitBatchRunConstraintEnum
        Sequential = new UnitBatchRunConstraintEnum("1","顺序运行"), //顺序运行
        Parallel = new UnitBatchRunConstraintEnum("2","并行运行");  //并行运行

    private UnitBatchRunConstraintEnum(String value,String label){
        super(value,label);
    }

}
